package com.atguigu.realtime.gmallpublisher2.service;

import com.atguigu.realtime.gmallpublisher2.mapper.OrderWideMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author lizhenchao@atguigu.cn
 * @Date 2020/12/17 10:36
 */
@Service
public class OrderWideServiceImpl implements OderWideService {

    @Autowired
    OrderWideMapper mapper;

    @Override
    public List<Map<String, Object>> getTMAmountString(String startDate, String endDate, int limit) {
        return mapper.getTMAmount(startDate, endDate,limit);
    }
}
